#pragma once
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <assert.h>

void AdjustDown(int* a, int n, int parent);
void HeapPrint(int* a,int n);
void Swap(int* p1, int* p2);

void HeapSort(int* a, int n, int parent);

